﻿<%@ Page Language="C#" MasterPageFile="~/HomePages.Master" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="BusinessService.Account.Register" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
  <title>Register Page</title>
   <link href="../Content/Register.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.validate.js" type="text/javascript"></script>
    <script type="text/javascript">
   $(document).ready(function() {
    $("#openid_form").validate({
		rules: {
			UserName: "required",
			Password: {
			    required: true				
			},
			Email: {
				required: true,
				email: true
			},
			Address: {
				required: true				
			},
			Country: {
				required: true				
			},			
			NumberPhone: {
				required: true,
				minlength: 5
			}
		},
		messages: {
			UserName: "Vui lòng nhập tên",			
			Password: {
				required: "Vui lòng nhập mật khẩu"				
			},		
			Email: "Vui lòng nhập địa chỉ email",
			Address: "Vui lòng nhập địa chỉ",			
			Country: "Vui lòng nhập quốc gia",			
			NumberPhone: "Vui lòng nhập số điện thoại"			
			
		}
	});
	
	});
    </script>
    <style type="text/css">
    #openid_form label.error 
    {
    	margin-left: 10px;
    	width: auto;
    	display: inline;
    }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div id="lefts"></div>
<div id="Registers">
<h2  align="center">ĐĂNG KÍ</h2>
 <fieldset>	 
	 <p>
	 <label for="UserName">Tên Đăng Nhập</label>
	  <input id="UserName" name="UserName" type="text" />
	 </p>
	 <p>
	 <label for="Password">Mật Khẩu</label>
	   <input id="Password" name="Password" type="password" />
	 </p>
	 <p>
	 <label for="Email">Email</label>
	   <input id="Email" name="Email" type="text" />
	 </p>
	 <p>
	 <label for="Đia Chỉ">Địa Chỉ</label>
	   <input id="Address" name="Address" type="text" />
	 </p>
	 <p>	 
	 <label for="Country">Quốc Gia</label>
	   <input id="Country" name="Country" type="text" />
	 </p>
	 <p>	
	  <label for="NumberPhone">Điện Thoại</label>
	   <input id="NumberPhone" name="NumberPhone" type="text" />
	 </p>	
	 <p align="center"> 
         <input id="btnRegister" name="btnRegister" type="submit" value="Đăng Kí" /></p>
	  </fieldset>
</div>
</asp:Content>
